<template>
    <div class="myfooter">
        <van-tabbar  route v-if="isFooter" fixed placeholder>
            <van-tabbar-item to="/home" icon="home-o" >首页</van-tabbar-item>
            <van-tabbar-item to="/classify" icon="search" >分类</van-tabbar-item>
            <van-tabbar-item to="/find" icon="friends-o" :badge="findNum?findNum:''">发现</van-tabbar-item>
            <van-tabbar-item to="/my" icon="setting-o" :badge="myNum?myNum:''">我的</van-tabbar-item>
        </van-tabbar>
    </div>
</template>

<script setup>
    const props = defineProps({
        isFooter:{
            type:Boolean,
            default:true
        }
    })
</script>

<style lang="scss" scoped></style>